package com.financial.business.yspay.service;

import com.financial.business.yspay.domain.FinancialPaymentYsDO;
import com.financial.business.yspay.utils.apiresult.ApiResult;

import java.util.List;
import java.util.Map;

/**
 * 银盛代付信息表
 *
 * @author WANGNING
 * @email wyn20140226@aliyun.com
 * @date 2019-11-11 10:21:31
 * @des
 */

public interface FinancialPaymentYsService {

    FinancialPaymentYsDO get(Integer id);

    List<FinancialPaymentYsDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(FinancialPaymentYsDO financialPaymentYs);

    int update(FinancialPaymentYsDO financialPaymentYs);

    /**
     * 银盛代付
     *
     * @param requestParam
     * @return
     */
    ApiResult ysPayment(String requestParam);

    /**
     * 通过map查询一条代付记录
     *
     * @param condMap
     * @return
     */
    String query(Map<String, Object> condMap);
}
